package com.net.xpay.common.manager.operator;

import com.net.xpay.common.domain.operator.OperatorUserBinding;
import com.net.common.manager.DomainManager;

import java.util.List;


public interface OperatorUserBindingManager extends DomainManager<Long, OperatorUserBinding> {
    Long byOperatorUserIdCount(Long operatorUserId);

    List<OperatorUserBinding> getByOperatorIdList(Long operatorUserId);

    OperatorUserBinding findByOperatorUserIdAndUserId(Long operatorUserId, Long userId);

    OperatorUserBinding findByUserId(Long userId);

    OperatorUserBinding findByOperatorUserId(Long operatorUserId);
}
